﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using MasterLibrary.Windows.Forms;

namespace Prometheus
{
    public partial class RequestForm : FormBase
    {
        public RequestForm()
        {
            InitializeComponent();
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            e.Graphics.FillRectangle(SystemBrushes.Control, 0, base.ClientRectangle.Height - 50, base.ClientRectangle.Width, 50);
            e.Graphics.DrawLine(new Pen(Color.FromArgb(0xdf, 0xdf, 0xdf), 1f), new Point(0, base.ClientRectangle.Height - 50), new Point(base.ClientRectangle.Width, base.ClientRectangle.Height - 50));
            base.OnPaint(e);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Ignore;
            this.Close();
        }
    }
}
